package com.supergdtop.www.run.tools;

import android.content.Context;
import android.graphics.Typeface;
import android.widget.TextView;

/**
 * Created by Administrator on 2016/8/11.
 */
public class TextTypefaceTools {
    public static void setEnglishTextTypeface(TextView textView, Context context) {
        textView.setTypeface(Typeface.createFromAsset(context.getAssets(),"fonts/login.otf"));
    }

    public static void setSharingTypeface1(TextView specialtextView1, Context context ) {
        specialtextView1.setTypeface(Typeface.createFromAsset(context.getAssets(),"fonts/sharing.ttf"));
    }

}

